{extend name="base" /}
{block name="content"}
<article>
	<div class="_head category_title">
		<h2>
				{$headData['title']}：
				<!--分类：-->
			{$headData['name']}
		</h2>
		<span>
			共 {$headData['total']} 篇文章
		</span>
	</div>
</article>
{foreach name="articleData" item="v"}
<article>
	<div class="_head">
		<h1>{$v['arc_title']}</h1>
		<span>
		作者：
		{$v['arc_author']}
		</span>
		•
		<!--pubdate表⽰示发布⽇日期-->
		<time pubdate="pubdate" datetime="{:date('Y-m-d H:i：',$v['sendtime'])}">{:date('Y-m-d ',$v['sendtime'])}</time>
		•
		分类：
		<a href="{:url('index/lists/index',['cate_id'=>$v['cate_id']])}">{$v['cate_name']}</a>
	</div>
	<div class="_digest">
	<img src="{$v['arc_thumb']}"  class="img-responsive"/>
		<p>
			{$v['arc_digest']}
		</p>
	</div>
	<div class="_more">
		<a href="{:url('index/content/index',['arc_id'=>$v['arc_id']])}" class="btn btn-default">阅读全文</a>
	</div>
	<div class="_footer">
		<i class="glyphicon glyphicon-tags"></i>
		{foreach name="$v['tags']" item='vo'}
		<a href="{:url('index/lists/index',['tag_id'=>$vo['tag_id']])}">{$vo['tag_name']}</a>、
		{/foreach}
	</div>
</article>
{/foreach}
{/block}